-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Prefetch links on Artwork screen #11650
base: main
Are you sure you want to change the base?
feat: Prefetch links on Artwork screen #11650
Conversation
e42c7e7
to
7b84d5b
Compare
@@ -132,32 +130,10 @@ export const PartnerQueryRenderer: React.FC<{ | |||
partnerID: string | |||
isVisible: boolean | |||
}> = ({ partnerID, ...others }) => { | |||
const { loading } = useClientQuery<PartnerInitialQuery>({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't doing anything, just delaying the initial load, so I removed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work @olerichter00! Left a couple of questions
} | ||
} | ||
`} | ||
cacheConfig={{ force: true }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why we had this force: true
here before
} | ||
} | ||
`} | ||
query={ArtistSeriesScreenQuery} | ||
cacheConfig={{ force: true }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@olerichter00 I've noticed that here you do not remove force: true
, but in ArtistSeriesFullArtistSeriesList.tsx you do. Is it intentional?
@@ -155,23 +142,26 @@ const ArtistListItem: React.FC<Props> = ({ | |||
return null | |||
} | |||
|
|||
const navigateOnPress = !disableNavigation && !onPress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
took me some time to understand this. I wonder if a comment could be helpful here
This PR resolves ONYX-1582
Description
Prefetch links on Artwork screen.
PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.